package com.eportal.service;

import com.eportal.domain.TCommodityProperty;
import com.framework.jqgrid.JqGridPager;

import java.util.List;
import java.util.Map;

/**
 * Created by Saber on 2017/7/10.
 */
public interface TCommodityPropertyService {

    List<TCommodityProperty> list(JqGridPager jqGridPager);

    TCommodityProperty get(Long id);

    TCommodityProperty getHql(String where);

    void delete(Long id);

    void update(TCommodityProperty tCommodityProperty) throws Exception;

    void delete(List<Long> ids);

    TCommodityProperty add(TCommodityProperty tCommodityProperty) throws Exception;

    Map<String, Object> addMethod(TCommodityProperty tCommodityProperty, String type);

    Map<String, Object> updateMethod(TCommodityProperty tCommodityProperty);

    Map<String, Object> deleteMethod(String param_ids);
}
